﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="M.AppMng.Service.Client.MyLogClient" />
<meta name="generator" content="DocsBuilder" />
<title>MyLogClient</title>
<link rel="stylesheet" type="text/css" href="../../../../styles/stylesheet.css" />
<script type="text/javascript" src="../../../../scripts/accordion.js"></script>
</head>
<body>
<h1><a href="namespace-summary.html">M.AppMng.Service.Client</a><br />
  MyLogClient 对象
</h1>
<pre>System.Object
  +-<b>M.AppMng.Service.Client.MyLogClient</b>
</pre>
<div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class</span> <span class="type">MyLogClient</span></pre></div>
<div></div><h4>方法摘要</h4>
  <table cellspacing="0" cellpadding="3" border="1">
    <tr>
      <th>签名</th>
      <th>说明</th>
    </tr>
      <tr id="GetActionTypes(String)">
        <td>
          <a href="#GetActionTypes(String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetActionTypes(String)</code></a><code>(<span class="keyword">string</span> appid)</code>
        </td>
        <td>
          
获取指定明源App已使用的日志操作类型列表

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetActionTypes(String) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">string</span>[] GetActionTypes(<span class="keyword">string</span> appid)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appid</strong> (System.String) - 明源AppID</dd>
              <dt><b>返回：</b></dt>
              <dd>System.String[] - 一个包含日志操作类型的字符串数组</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetLogs(String, String, String, Nullable&lt;DateTime&gt;, Nullable&lt;DateTime&gt;)">
        <td>
          <a href="#GetLogs(String, String, String, Nullable&lt;DateTime&gt;, Nullable&lt;DateTime&gt;)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetLogs(String, String, String, Nullable&lt;DateTime&gt;, Nullable&lt;DateTime&gt;)</code></a><code>(<span class="keyword">string</span> appid, <span class="keyword">string</span> actiontype, <span class="keyword">string</span> keyword, <span class="type">Nullable</span>&lt;<span class="type">DateTime</span>&gt; begin, <span class="type">Nullable</span>&lt;<span class="type">DateTime</span>&gt; end)</code>
        </td>
        <td>
          
查询并获取指定明源App的日志集合

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetLogs(String, String, String, Nullable&lt;DateTime&gt;, Nullable&lt;DateTime&gt;) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="type">DataTable</span> GetLogs(<span class="keyword">string</span> appid, <span class="keyword">string</span> actiontype, <span class="keyword">string</span> keyword, <span class="type">Nullable</span>&lt;<span class="type">DateTime</span>&gt; begin, <span class="type">Nullable</span>&lt;<span class="type">DateTime</span>&gt; end)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appid</strong> (System.String) - 明源AppID</dd>
                <dd><strong>actiontype</strong> (System.String) - 动作类型</dd>
                <dd><strong>keyword</strong> (System.String) - 模糊查询（在Msg/Msg2/Msg3/Msg4）Or Like</dd>
                <dd><strong>begin</strong> (System.Nullable&lt;System.DateTime&gt;) - 开始时间（Null为不指定开始时间）</dd>
                <dd><strong>end</strong> (System.Nullable&lt;System.DateTime&gt;) - 结束时间（Null为不指定结束时间）</dd>
              <dt><b>返回：</b></dt>
              <dd>System.Data.DataTable - </dd>
          </dl>
        </td>
      </tr>
      <tr id="Write(String, String, String, String, String, String, String, String)">
        <td>
          <a href="#Write(String, String, String, String, String, String, String, String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>Write(String, String, String, String, String, String, String, String)</code></a><code>(<span class="keyword">string</span> appid, <span class="keyword">string</span> requestinfo, <span class="keyword">string</span> actiontype, <span class="keyword">string</span> usercode, <span class="keyword">string</span> message, <span class="keyword">string</span> message2, <span class="keyword">string</span> message3, <span class="keyword">string</span> message4)</code>
        </td>
        <td>
          
为指定明源App新增一条操作日志

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>Write(String, String, String, String, String, String, String, String) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> Write(<span class="keyword">string</span> appid, <span class="keyword">string</span> requestinfo, <span class="keyword">string</span> actiontype, <span class="keyword">string</span> usercode, <span class="keyword">string</span> message, <span class="keyword">string</span> message2, <span class="keyword">string</span> message3, <span class="keyword">string</span> message4)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appid</strong> (System.String) - 应用程序标识（即明源AppID），格式为GUID，例如：XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</dd>
                <dd><strong>requestinfo</strong> (System.String) - 原始请求信息，用户自行定义</dd>
                <dd><strong>actiontype</strong> (System.String) - 动作类型，用户自行定义</dd>
                <dd><strong>usercode</strong> (System.String) - 用户编码，例如：duh</dd>
                <dd><strong>message</strong> (System.String) - 日志正文</dd>
                <dd><strong>message2</strong> (System.String) - 日志正文扩展2</dd>
                <dd><strong>message3</strong> (System.String) - 日志正文扩展3</dd>
                <dd><strong>message4</strong> (System.String) - 日志正文扩展4</dd>
          </dl>
        </td>
      </tr>
  </table>
<hr />
<div class="DocsBuilder">Generated by <span>DocsBuilder</span>2</div>
</body>
</html>
